package pack0915;

public class DemoA{
    public static void main(String[] args) {
        int sum = 0;
        int i = 1;
        while (i<101){
            sum = sum + i;
            i++;
        }
        System.out.println(sum);
    }

}

